
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="apple-touch-fullscreen" content="YES" />
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta name="format-detection" content="telephone=no">
    <meta name="renderer" content="webkit">
    <title>用户详情</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/weui/1.1.3/style/weui.min.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/jquery-weui/1.2.1/css/jquery-weui.min.css">
    <!-- body 最后 -->
    <script src="https://cdn.bootcss.com/jquery/1.11.0/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/jquery-weui/1.2.1/js/jquery-weui.min.js"></script>

    <link rel="stylesheet" href="/public/static/css/global.css">
    <link rel="stylesheet" href="/public/static/css/default.css">
    <link rel="stylesheet" href="/public/static/css/userInfo.css">
    <style>
        .card-header{padding:0px 0px 20px 0px;background-image: url("/public/static/images/my-bj1.jpg")}
       .card-header img{width:50px;height:50px;border-radius: 100px;margin:0 auto;}
    </style>
</head>
<body class="mobile">
<header id="header">
    <span class="title">用户详情</span>
    <a href="javascript:void(0);javascript:history.back()" class="back"><img src="/public/static/picture/btn-back.png" alt="返回上一层"></a>
</header>
<div id="container">

    <div class="m-card my-info">
        <div class="card-head">
            <i class="icon-basic-info"></i>
            <span class="card-title">基本信息</span>
        </div>
        <div class="info-item">
            <div><span class="key">用户名</span><span class="val">{$userData.username ? $userData.username  : '空'}</span></div>
            <div><span class="key">角色</span><span class="val">{$userData.group == '2' ? '医生'  : '普通用户'}</span></div>
            <div><span class="key">姓名</span><span class="val">{$userData.name ? $userData.name  : '空'}</span></div>
            <div><span class="key">电话</span><span class="val">{$userData.moblie ? $userData.moblie  : '空'}</span></div>
            <div><span class="key">是否注册</span><span class="val">{$userData.isreg==1 ? '已注册'  : '未注册'}</span></div>
            <div><span class="key">微信地址</span><span class="val">{$userData.wxaddr ? $userData.wxaddr  : '空'}</span></div>
            <div><span class="key">现居地址</span><span class="val">{$userData.addr ? $userData.addr  : '空'}</span></div>
            <div><span class="key">性别</span><span class="val">{$userData.sex==1 ? 男  : '女'}</span></div>
            <div><span class="key">QQ号</span><span class="val">{$userData.qq ? $userData.qq  : '空'}</span></div>
            <div><span class="key">积分</span><span class="val">{$userData.score}</span></div>
            <div><span class="key">注册时间</span><span class="val">{$userData.create_time ? $userData.create_time  : '空'}</span></div>
            <div><span class="key">备注信息</span><div class="val">{$userData.remark_info ? html_entity_decode($userData.remark_info, ENT_QUOTES, 'UTF-8') : '空'}</div></div>
        </div>
    </div>

    <div class="m-card my-info" >
        <div class="card-head">
            <i class="icon-basic-info"></i>
            <span class="card-title">意向产品</span>
        </div>
        {if condition="$pro_data"}
            <div class="info-item">
                {volist name="pro_data" id="vo"}
                <div><span class="key">产品ID：{$vo.id}</span><span class="val">{$vo.pro_name}</span></div>
                {/volist}
            </div>
        {/if}
    </div>




</div>
</body>

<script>

</script>



</html>